<?php

class Default_Form_Search extends Zend_Form {
	
    public function init() {
        $this->setName('frmSearch');
        
		$loaitin = new Zend_Form_Element_Select('idloaitin');
		$loaitin->setDecorators(array('ViewHelper'));
        
		$city = new Zend_Form_Element_Select('idtinhthanh');
		$city->setDecorators(array('ViewHelper'));
		
		$district = new Zend_Form_Element_Select('idquanhuyen');
		$district->setDecorators(array('ViewHelper'));
        
		$price = new Zend_Form_Element_Select('idgia');
		$price->setDecorators(array('ViewHelper'));
        
		$dientich = new Zend_Form_Element_Select('iddientich');
		$dientich->setDecorators(array('ViewHelper'));
        
		$loaiphong = new Zend_Form_Element_Select('idloaiphong');
		$loaiphong->setDecorators(array('ViewHelper'));
        
		$songuoio = new Zend_Form_Element_Select('idsonguoio');
		$songuoio->setDecorators(array('ViewHelper'));
        
		$submit = new Zend_Form_Element_Submit('submitSearch');
		$submit->setDecorators(array('ViewHelper'));
		
		$this->addElements(array($loaitin, $city, $district, $price, $dientich, $loaiphong, $songuoio, $submit));
    }
}